export const routesInit = [{
        name: '/',
        path: '/',
        redirect: '/index'
    },
    {
        name: 'layoutDefault',
        path: '/layout_default',
        component: () => import('@/layout/default.vue'),
        children: [{
            name: 'login',
            path: '/login',
            meta: {
                title: '登录',
                requiresAuth: false
            },
            component: () => import('@/pages/login.vue')
        }]
    },
    {
        name: 'layoutAuth',
        path: '/layout_auth',
        component: () => import('@/layout/auth.vue'),
        children: [
          {
            name: 'index',
            path: '/index',
            meta: {
                title: '首页',
                requiresAuth: true
            },
            component: () => import('@/pages/index.vue')
          },
          {
            name: 'retail',
            path: '/retail',
            component: () => import('@/pages/gallery/@app/retail/index.vue'),
          },
          {
            name: 'retailConcise',
            path: '/retail/concise',
            component: () => import('@/pages/gallery/@app/retail/concise.vue'),
          },
          {
            name: 'member',
            path: '/member',
            component: () => import('@/pages/gallery/@app/member/index.vue'),
          },
          {
            name: 'memberSupreme',
            path: '/member/supreme',
            component: () => import('@/pages/gallery/@app/member/supreme.vue'),
          },
          {
            name: 'memberMarketShareholders',
            path: '/member/market-shareholders',
            component: () => import('@/pages/gallery/@app/member/market-shareholders.vue'),
          },
          {
            name: 'order',
            path: '/order',
            component: () => import('@/pages/gallery/@app/order/index.vue'),
          },
          {
            name: 'orderBriefs',
            path: '/order/briefs',
            component: () => import('@/pages/gallery/@app/order/briefs/index.vue'),
          },
          {
            name: 'finance',
            path: '/finance',
            component: () => import('@/pages/gallery/@app/finance/index.vue'),
          },
          {
            name: 'stock',
            path: '/stock',
            component: () => import('@/pages/gallery/@app/stock/index.vue'),
          },
          {
            name: 'reward',
            path: '/reward',
            component: () => import('@/pages/gallery/@app/reward/index.vue'),
          },
          {
            name: 'setting',
            path: '/setting',
            component: () => import('@/pages/gallery/@app/setting/index.vue'),
          },
          {
            name: 'marketing',
            path: '/marketing',
            component: () => import('@/pages/gallery/@app/marketing/index.vue'),
          },
          {
            name: 'underwear-card',
            path: '/underwear-card',
            component: () => import('@/pages/gallery/@app/marketing/underwear-card/list.vue'),
          }
        ]
    }
    
]